package com.hntxk.cqzd.sms.model;

import com.hntxk.core.framework.model.BaseModel;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 手机短信发送记录
 * @date 2019年10月17日 10:20 <br>
 * @author <a href="huangbiquan@hotmail.com">Huang.Biquan</a>
 */
@Setter
@Getter
public class SmsInfo extends BaseModel implements Serializable {

    private static final long serialVersionUID = 7283411442328574251L;
    @Id
    private Long infoId;
    private String infoContent;
    private Long senderId;
    private String senderName;
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date sendTime;

    private List<SmsSendee> smsSendee;
}
